package com.mall.b2c.hessian;

import com.mall.b2c.bean.IntergralShopOrderBean;
import com.mall.common.hessian.BaseHessian;

public interface IntergralHessian extends BaseHessian {
	/**
	 * 获取积分商品
	 * @param classId 分类id
	 */
	public String getShopProductList(Long classId,String orderBy);
	
	

    /**
     * 获取商品种类列表
     *
     */
    public String getShopClassList();
	  /****
    *
    * 获取用户订单列表列表
    *  @param userid 用户id
    */
	public String getOrderlist(Long userid,String orderby);
	
	/**
	 * 获取商品详细信息
	 * */
	public String getProductDetail(Long id);
	/**兑
	 * 换
	 * */
	public String exchange(String name,String phone,String address,int num,Long productId,Long MemberId);
	
	public String getIntergralByUserId(Long userid);

	String getIntergralLogList(Long userid, Integer pageNumber);

	void createOrder(Long currStoreId, Long memberId, Long[] cartItemIds, String name, String phone, String address,Long store);
}	
